@import 'src/res/theme/xxhz';



.view-inline {
  display: inline-block;
}

.goods-big-img-list-content-is-recommendation {
  .goods-big-img-list-swiper, .goods-big-img-list-img {
    height: 300px !important;
  }
}

.goods-big-img-list-content {
  width: 100%;
  box-sizing: border-box;

  .goods-big-img-list-name {
    background: #fff;
    font-size: 32px;
    padding-bottom: 4px;
    box-sizing: border-box;
    align-items: flex-start;

    .goods-big-img-list-label {
      margin-right: 6px;
      margin-top: 8px;
      white-space: nowrap;
      border-radius: 26px;
      color: #ff601b;
      padding: 6px 10px;
      font-size: 18px;
      text-align: center;
      border: 1Px solid #ff601b;
    }

    .goods-big-img-list-goods-name {
      padding-right: 1px;
      text-overflow: ellipsis;
      display: -webkit-box;
      /*! autoprefixer: ignore next */
      -webkit-box-orient: vertical;
      /* autoprefixer: on */
      -webkit-line-clamp: 2;
      overflow: hidden;
    }

    .goods-big-img-list-coupon-text {
      white-space: nowrap;
      font-size: 20px;
      color: #fff;
      text-align: center;
      background: #ed6c47;
      position: relative;
      top: 8px;
      border-radius: 6px;
      margin-right: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .goods-big-img-list-good-box {
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;

    .goods-big-img-list-wrap {
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
    }

    .goods-big-img-list-swiper-box {
      width: 100%;
      position: relative;

      .goods-big-img-list-swiper {
        width: 100%;
        height: 420px;
      }

      .goods-big-img-list-img {
        width: 100%;
        height: 420px;
        display: block;
      }

      .goods-big-img-list-name {
        position: absolute;
        bottom: 0;
        font-size: 24px;
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
        padding: 30px 10px 10px;
        width: 100%;
        color: white;
        box-sizing: border-box;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }

      .goods-big-img-list-indicator-box {
        position: absolute;
        top: 24px;
        right: 24px;
        display: flex;
        justify-content: flex-end;

        .goods-big-img-list-indicator-item {
          width: 12px;
          height: 12px;
          border-radius: 6px;
          background-color: white;
          margin-right: 8px;
          transition: width 0.2s ease 0s;
        }

        .goods-big-img-list-active {
          width: 40px;
          transition: width 0.2s ease 0s;
        }
      }
    }

    .goods-big-img-list-info {
      background-color: #fff;
      padding: 18px 20px 30px;

      .salesVolume {
        margin-top: 12px;
        font-size: 22px;
        color: $color-font-less;
        box-sizing: border-box;
      }

      .goods-big-img-list-labels {
        display: flex;
        flex-wrap: wrap;
        margin-top: -8px;

        .goods-big-img-list-label {
          margin-top: 8px;
          background-color: #fff;
          color: #ff9471;
          border: solid 1px #ff9471;
          border-radius: 30px;
          font-size: 22px;
          padding: 3px 12px;
          margin-right: 10px;
        }

        .goods-big-img-list-label:last-child {
          margin-right: 0;
        }
      }

      .goods-big-img-list-name {
        margin: 10px 0;
        font-size: 30px;
        font-weight: bold;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }

      .goods-big-img-list-subTitle {
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 14px;
        /*! autoprefixer: ignore next */
        -webkit-box-orient: vertical;
        /* autoprefixer: on */
        -webkit-line-clamp: 2;
        display: -webkit-box;
        font-size: 24px !important;
        color: #676768 !important;
      }
    }

    .goods-big-img-list-info-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-sizing: border-box;
      background-color: white;
      margin-top: 36px;

      .goods-big-img-list-left {
        width: 50%;
        overflow: hidden;
        display: flex;
        flex-direction: column;

        .goods-big-img-list-discount {
          min-width: 50px;
          letter-spacing: 1px;
          color: #fff;
          background-color: #ff2402;
          border-radius: 26px 26px 26px 0;
          text-align: center;
          margin-left: 6px;
          padding: 4px 10px;
          font-size: 18px;
          white-space: nowrap;
        }

        .goods-big-img-list-market-price-min-big {
          position: relative;
          top: 5Px !important;
        }

        .goods-big-img-list-price {
          font-size: 24px;
          color: #262e2d;
          display: flex;
          align-items: baseline;

          .goods-big-img-list-mark-min-big {
            position: relative;
            top: 6.4Px !important;
          }

          .goods-big-img-list-mark {
            font-size: 24px;
            font-weight: bold;
            font-family: Avenir;
            color: $color-price;
            position: relative;
            top: 5.5Px;
          }

          .goods-big-img-list-main {
            font-size: 36px;
            font-weight: bold;
            padding-left: 2px !important;
            position: relative;
            top: 5Px;
          }

          .goods-big-img-list-main-min-big {
            position: relative;
            top: 6Px !important;
          }

          .goods-big-img-list-market-price {
            position: relative;
            top: 4Px;
            font-family: Avenir;
            text-decoration: line-through;
            color: $originalPriceColor;
          }

          .goods-big-img-list-margin-left {
            margin-left: 6px;
          }
        }

        .goods-big-img-list-process {
          line-height: 1;

          .goods-big-img-list-text {
            font-size: 16px;
            color: #888;
            display: block;
          }
        }
      }

      .goods-big-img-list-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;

        .goods-big-img-list-share-earn {
          width: 200px;
          height: 68px;
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: center;
          background: url("https://resource.ivcheng.com/upload/images/20210824/1629767380064_99.png") no-repeat;
          background-size: cover;

          .goods-big-img-list-share-left {
            font-weight: bold;
            margin-top: 8px;
            width: 50%;
            font-size: 20px;
            color: #332215;
          }

          .goods-big-img-list-price {
            text-align: center;
            white-space: nowrap;
            min-width: 50%;
            color: #fff;
            font-size: 20px;

            .goods-big-img-list-true-price-share {
              color: #fff;
              font-size: 35px;
              font-weight: 600;
            }
            .goods-big-img-list-true-price-share-small{
              font-size: 24px!important;
            }
          }
        }

        .goods-big-img-list-snapped-up {
          width: 160px;
          padding: 8Px 4Px;
          display: flex;
          font-weight: bold;
          align-items: center;
          justify-content: center;
          border-radius: 32px;
          text-align: center;
          color: #000;
          background: #ffdd09;
          font-size: 22px;
        }

        .goods-big-img-list-time-tips {
          font-size: 22px;
          text-align: center;
        }
      }
    }
  }

  .goods-big-img-list-good-box:last-child{
    margin-bottom: 0;
  }

  .goods-big-img-list-good-item {
    width: 100%;
    padding-bottom: 30px;

    .goods-big-img-list-wrap {
      width: 100%;
      border-radius: 20px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      background-color: white;
      height: 200px;
      display: flex;
      box-sizing: border-box;
      padding: 20px;

      .goods-big-img-list-cover {
        width: 254px;
        height: 160px;

        .goods-big-img-list-img {
          width: 254px;
          height: 160px;
        }
      }

      .goods-big-img-list-info-box {
        width: calc(100% - 254px);
        padding-left: 20px;
        box-sizing: border-box;

        .goods-big-img-list-title {
          font-size: 28px;
          color: #333;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .goods-big-img-list-progress {
          width: 70%;
          height: 32px;
        }

        .goods-big-img-list-price-box {
          font-size: 18px;
          color: #262e2d;
          display: flex;
          justify-content: space-between;
          align-items: baseline;
          padding: 6px 20px 6px 0;
          box-sizing: border-box;

          .goods-big-img-list-symbol {
            font-size: 20px;
            color: $color-price;
          }

          .goods-big-img-list-number {
            font-size: 36px;
            color: $color-price;
            padding: 0 10px;
          }

          .goods-big-img-list-market-price {
            text-decoration: line-through;
          }

          .goods-big-img-list-btn {
            width: 110px;
            height: 45px;
            border-radius: 23px;
            background-image: linear-gradient(to right, #e7874f, #ea7448);
            color: white;
            line-height: 45px;
            font-size: 20px;
            text-align: center;
          }

          .goods-big-img-list-disabled {
            background: #eca88e;
          }

          .goods-big-img-list-end {
            background-color: #cfcfcf;
            background-image: none;
          }
        }
      }
    }
  }
}
